"""
Axiom-Boot 依赖注入与应用生命周期引擎

提供一个统一的、简化的公共 API 入口，以便于框架内部和最终用户使用。
"""
from .application import AxiomApplication
from .dependency import autowired, Autowired
from .interfaces import ApplicationProcessor
from .decorators import (
    order,
    service,
    controller,
    mapper,
    conditional_on_setting,
    primary,
    route,
    get,
    post,
    put,
    delete,
    patch,
    head,
    options,
)

# 类型别名，使代码更简洁
Application = AxiomApplication

__all__ = [
    # 应用主入口
    "AxiomApplication",
    "Application",
    
    # 核心装饰器
    "service",
    "controller",
    "mapper",
    "autowired",
    "Autowired",
    "conditional_on_setting",
    "primary",

    # 生命周期处理器
    "ApplicationProcessor",
    "order",

    # 路由装饰器
    "route",
    "get",
    "post",
    "put",
    "delete",
    "patch",
    "head",
    "options",
] 